From: Alexandre Emsenhuber Date: Sun, 11 Apr 2010 19:10:15 +0000 (+0000) Subject: Fix param names mismatch in code/doc from r64852 and r64397 X-Git-Tag: 1.31.0-rc.0~37140 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=15dd2a1c40827e8fc7c8026c5d0c31b809c75593;p=lhc%2Fweb%2Fwiklou.git Fix param names mismatch in code/doc from r64852 and r64397 --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index e90fd8e8b2..5f2a185d9a 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -537,7 +537,7 @@ abstract class ApiBase { /** * Return true if we're to watch the page, false if not, null if no change. - * @param $watch String Valid values: 'watch', 'unwatch', 'preferences', 'nochange' + * @param $watchlist String Valid values: 'watch', 'unwatch', 'preferences', 'nochange' * @param $titleObj Title (optional) the page under consideration * @returns mixed */ diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 21fe1f8154..419c22065d 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -447,6 +447,7 @@ class ApiMain extends ApiBase { /** * Check the max lag if necessary + * @param $module ApiBase object: Api module being used * @param $params Array an array containing the request parameters. * @return boolean True on success, false should exit immediately */